<!--{template common/header_simple_start}-->
<link href="static/css/common.css?{VERHASH}" rel="stylesheet" media="all">
<link href="static/css/checkbox.css?{VERHASH}" rel="stylesheet" media="all">
<script type="text/javascript" src="static/js/jquery.leftDrager.js?{VERHASH}"></script>
<script type="text/javascript" src="static/js/jquery.textareaexplander.js?{VERHASH}"></script>
<style>
    #cpform {
        margin-top: 15px;
    }
	i.dzz {
	cursor: pointer;
	font-size: 20px;
	line-height: 30px;
}

.vitem{
	margin-bottom:10px;
	max-width:600px;
}
.vitem .col-sm-5{
	padding:0 2px;
}
.vitem .form-control{
	max-width:100%;
	border-width:1px;
}
.vitem-label{
	line-height: 34px;
	text-align: right
}
	
.ui-sortable-helper{
	background-color: #FFF;
	border:1px solid #e1e1e1;
}
.ui-state-highlight{
	width:100%;
	max-width:600px;
	height: 34px;
	background-color: blanchedalmond
}
</style>
<!--{template common/header_simple_end}-->
<!--{template common/commer_header}-->
<div class="bs-container clearfix">
    <div class="bs-left-container  clearfix">
        <!--{template admin_left}-->
    </div>
    <div class="left-drager">
        <div class="left-drager-op">
            <div class="left-drager-sub"></div>
        </div>
    </div>
    <div class="bs-main-container  clearfix">
       
        <div class="main-content">
            <form id="cpform" action="{MOD_URL}&op=admin" class="form-horizontal-left" method="post" name="cpform">
                <input type="hidden" value="{FORMHASH}" name="formhash">
                <input type="hidden" value="true" name="settingsubmit">
               
                <dl>
                    <dt>{lang ffmpeg.binaries}:</dt>
                    <dd class="clearfix">
                        <input type="text" style="width:80%" class="form-control"
                               name="settingnew[ffmpeg.binaries]" value="$appextra[ffmpeg.binaries]" />
                        <span class="help-block">{lang ffmpeg.binaries.tips}</span></dd>
                </dl>
				<dl>
                    <dt>{lang ffprobe.binaries}:</dt>
                    <dd class="clearfix">
                        <input type="text" style="width:80%" class="form-control"
                               name="settingnew[ffprobe.binaries]" value="$appextra[ffprobe.binaries]" />
                        <span class="help-block">{lang ffprobe.binaries.tips}</span></dd>
                </dl>
				<dl>
                    <dt>{lang ffmpeg.timeout}:</dt>
                    <dd class="clearfix">
                        <input type="text" style="width:80%" class="form-control"
                               name="settingnew[timeout]" value="$appextra['timeout']" />
                        <span class="help-block">{lang ffmpeg.timeout.tips}</span></dd>
                </dl>
               <dl>
                    <dt>{lang ffmpeg.threads}:</dt>
                    <dd class="clearfix">
                        <input type="text" style="width:80%" class="form-control"
                               name="settingnew[ffmpeg.threads]" value="$appextra[ffmpeg.threads]" />
                        <span class="help-block">{lang ffmpeg.threads.tips}</span></dd>
                </dl>
                 <dl>
                    <dt>{lang exts}:</dt>
                    <dd class="clearfix">
                        <input   style="width:80%" id="exts" class="form-control"
								  name="settingnew[exts]" value="$appextra['exts']" />
                        <span class="help-block">{lang exts_tip}</span>
                    </dd>
                </dl>
				
				<dl>
                    <dt>{lang exts_thumb}:</dt>
                    <dd class="clearfix">
                        <input   style="width:80%" id="exts_thumb" class="form-control"
								  name="settingnew[exts_thumb]" value="$appextra['exts_thumb']" />
                        <span class="help-block">{lang exts_thumb_tip}</span>
                    </dd>
                </dl>
				<dl>
                    <dt>{lang exts_info}:</dt>
                    <dd class="clearfix">
                        <input   style="width:80%" id="exts_info" class="form-control"
								  name="settingnew[exts_info]" value="$appextra['exts_info']" />
                        <span class="help-block">{lang exts_info_tip}</span>
                    </dd>
                </dl>

                <dl>
                    <dd>
                        <button class="btn btn-success btn-width" type="submit"
                                onclick="document.getElementById('cpform').submit();">{lang save}
                        </button>
                    </dd>
                </dl>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript">
    jQuery('.left-drager').leftDrager_layout();
	function values_add(obj){
		var html='';
		html+='<div class="vitem clearfix">'
			+'   <div class="col-sm-5"><input type="text" class="form-control" name="values[key][]" value="" placeholder="key"></div>'
			+'    <div class="col-sm-5"><input type="text" class="form-control" name="values[value][]" value="" placeholder="value"></div>'
			+' <div class="col-sm-2"><a href="javascript:;" onclick="jQuery(this).closest(\'.vitem\').remove()"><i class="dzz dzz-close"></i></a></div>'
			+'</div>';
		jQuery(html).insertBefore(obj);
	}
</script>
<!--{template common/footer_simple}-->